Skip to main content

span

Type

property

Summary

The extent of the map displayed by the widget.

Syntax

set the span of <widget> to <pSpan>
get the span of <widget>

Description

The span property returns a comma-delimited pair of numbers, the vertical and horizontal delta in degrees from the centerCoordinates to the sides of the map view. The span therefore, together with the size of the view, determine the zoom level.

The second two items of the region property are the same as the span.

Examples

set the span of widget "Map" to "20,20"

property: region, centerCoordinates

Compatibility and Support

OS

mac

ios

android

web

Platforms

desktop

mobile